home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Acao / crazycastle2.swf / scripts / DefineButton2_315 / BUTTONCONDACTION on(keyPress Right).as < prev    next >
Encoding:
Text File  |  2006-06-13  |  324 b   |  17 lines

  1. on(keyPress "<Right>"){
  2.    var ┬º\x01┬º = 85;
  3.    if(eval("\x01") == 85)
  4.    {
  5.       set("\x01",eval("\x01") + 452);
  6.       _root.nextWeapon();
  7.    }
  8.    else if(eval("\x01") == 537)
  9.    {
  10.       set("\x01",eval("\x01") - 358);
  11.    }
  12.    else if(eval("\x01") == 179)
  13.    {
  14.       set("\x01",eval("\x01") + 248);
  15.    }
  16. }
  17.